package com.cskaoyan.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @USER: cuiweiguo#
 * @DATE: 2022/5/9
 * @TIME: 9:11
 * @PROJECT_NAME: mallproject2
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WxFootprintListBean {
    private Integer total;
    private Integer pages;
    private Integer limit;
    private Integer page;
    private List<WxFootprintVO> list;

    public static WxFootprintListBean data(long total,Integer pages,Integer limit,Integer page,List list) {
        WxFootprintListBean wxFootprintListBean = new WxFootprintListBean();
        wxFootprintListBean.setTotal((int) total);
        wxFootprintListBean.setPages(pages);
        wxFootprintListBean.setPage(page);
        wxFootprintListBean.setLimit(limit);
        wxFootprintListBean.setList(list);
        return wxFootprintListBean;
    }
}
